package cn.scantd.core.model;

import java.io.Serializable;

import org.eclipse.jdt.core.dom.SingleVariableDeclaration;

public class JavaMethodParam implements Serializable {

    private static final long serialVersionUID = 612919449180347794L;
    
    private String key;
    private String clazz;
    
    public JavaMethodParam(SingleVariableDeclaration singleVariableDeclaration) {
        this.key = singleVariableDeclaration.getName().getFullyQualifiedName();
        this.clazz = singleVariableDeclaration.getType().resolveBinding().getQualifiedName();
    }
    
    public String getKey() {
        return key;
    }
    public void setKey(String key) {
        this.key = key;
    }
    public String getClazz() {
        return clazz;
    }
    public void setClazz(String clazz) {
        this.clazz = clazz;
    }
    
}
